package com.ming_za.odupdaterserver.core.sqlite.mapper;

import com.ming_za.odupdaterserver.core.sqlite.domain.Config;
import org.apache.ibatis.annotations.Param;

/**
* @author 28365
* @description 针对表【config】的数据库操作Mapper
* @createDate 2025-01-03 12:04:51
* @Entity com.ming_za.odupdaterserver.core.sqlite.domain.Config
*/
public interface ConfigMapper {

    int deleteByPrimaryKey(String key);

    int insert(@Param("key") String key, @Param("value") String value);

    Config selectByPrimaryKey(String key);

    int updateValue(@Param("key") String key, @Param("value") String value);

}
